<template>
  <SideNav />
  <main class="app-main">
    <router-view />
  </main>
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router'
import SideNav from '@/components/layout/SideNav.vue'
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  min-height: 100vh;
  background-color: #f5f7fa;
}

.app-main {
  margin-left: 60px;
  transition: margin-left 0.3s ease;
}

.side-nav--active + .app-main {
  margin-left: 200px;
}
</style>
